/* ============================================
   THE DISPATCHER - HOMEPAGE REDESIGN
   Wirecutter-Inspired Layout with TheDispatcher Brand
   ============================================ */

/* ============================================
   HERO EDITORIAL SECTION
   ============================================ */

.hero-editorial {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-section) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(57, 160, 120, 0.08) 0%, transparent 60%);
}

.hero-editorial-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 185, 35, 0.15);
    color: var(--accent-gold);
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-editorial .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-editorial .hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-value-props {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.value-prop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.value-icon {
    font-size: 2.5rem;
}

.value-prop span:last-child {
    color: var(--text-heading);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   THREE-COLUMN WIRECUTTER-STYLE LAYOUT
   ============================================ */

.main-content-grid {
    background: var(--bg-primary);
    padding: 3rem 0;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.three-column-layout {
    display: grid;
    /* responsive grid: fixed sidebars (shrinkable) and flexible center */
    /* 250px | 1fr | 280px */
    grid-template-columns: 240px minmax(0, 1fr) 280px;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    max-width: 100%;

    /* PREVENT OVERFLOW */
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 1280px) {
    .three-column-layout {
        /* Drop right column early to prevent squishing */
        grid-template-columns: 220px 1fr;
    }

    .deals-column {
        display: none;
        /* Temporarily hide or move to bottom if needed */
    }
}

@media (max-width: 900px) {


    .latest-column {
        display: none;
        /* Stack or hide left column on mobile */
    }
}

/* ============================================
   LEFT COLUMN - THE LATEST
   ============================================ */

.latest-column {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem 1.5rem;
}

.column-sticky {
    position: sticky;
    top: 100px;
}

.column-title {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-green);
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.latest-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-category {
    display: inline-block;
    background: rgba(57, 160, 120, 0.2);
    color: var(--accent-green);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.latest-item h3 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.latest-item h3 a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-item h3 a:hover {
    color: var(--accent-gold);
}

.latest-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.see-all-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.see-all-link:hover {
    color: var(--accent-gold);
}

/* ============================================
   CENTER COLUMN - FEATURED CONTENT
   ============================================ */

.featured-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.featured-main {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-main:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-green);
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent-green), #2d8060);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    font-size: 8rem;
    opacity: 0.3;
}

.featured-content {
    padding: 2rem;
}

.featured-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-title a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-title a:hover {
    color: var(--accent-gold);
}

.featured-excerpt {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.featured-author {
    font-weight: 600;
    color: var(--accent-green);
}

/* Secondary Featured Cards */
.featured-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.featured-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-green);
}

.featured-card-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-small {
    font-size: 3.5rem;
    opacity: 0.3;
}

.featured-card-content {
    padding: 1.3rem;
}

.card-category {
    display: inline-block;
    background: rgba(232, 185, 35, 0.15);
    color: var(--accent-gold);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.featured-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.featured-card h3 a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-card h3 a:hover {
    color: var(--accent-gold);
}

.featured-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* ============================================
   RIGHT COLUMN - DEALS & PICKS
   ============================================ */

.deals-column {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem 1.5rem;
}

.deals-intro {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.deal-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.deal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.deal-featured {
    background: rgba(232, 185, 35, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(232, 185, 35, 0.2);
    margin-top: 1rem;
}

.deal-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold), #d4a721);
    color: var(--bg-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.deal-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.placeholder-deal {
    font-size: 3rem;
    opacity: 0.3;
}

.deal-content h4 {
    font-size: 1rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.deal-description {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0.7rem;
    line-height: 1.4;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-save {
    font-size: 0.75rem;
    background: rgba(196, 63, 63, 0.15);
    color: var(--accent-red);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.deal-btn {
    display: block;
    width: 100%;
    background: var(--accent-green);
    color: white;
    text-align: center;
    padding: 0.7rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.deal-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.deal-btn-featured {
    background: linear-gradient(135deg, var(--accent-gold), #d4a721);
    color: var(--bg-primary);
}

.deal-btn-featured:hover {
    background: linear-gradient(135deg, #f5c942, var(--accent-gold));
}

/* ============================================
   BLOG PREVIEW SECTION
   ============================================ */

.blog-preview-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(57, 160, 120, 0.2);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 650px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-green);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-blog {
    font-size: 5rem;
    opacity: 0.3;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(14, 59, 45, 0.9);
    color: var(--accent-green);
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 1.8rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h3 a:hover {
    color: var(--accent-gold);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.read-time {
    position: relative;
}

.read-time::before {
    content: '•';
    margin-right: 0.5rem;
}

.section-cta {
    text-align: center;
}

/* ============================================
   SHOP COLLECTIONS SECTION
   ============================================ */

.shop-collections-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collection-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gold);
}

.collection-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(57, 160, 120, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-collection {
    font-size: 5rem;
    opacity: 0.4;
}

.collection-content {
    padding: 1.8rem;
}

.collection-content h3 {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.collection-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.collection-arrow {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.collection-card:hover .collection-arrow {
    color: var(--accent-gold);
}

/* ============================================
   MERCH PREVIEW SECTION
   ============================================ */

.merch-preview-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.merch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.merch-header-text {
    flex: 1;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.merch-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gold);
}

.merch-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.placeholder-merch {
    font-size: 4rem;
    opacity: 0.3;
}

.merch-card h4 {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.merch-price {
    font-size: 1.2rem;
    color: var(--accent-green);
    font-weight: 700;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.trust-number {
    font-size: 3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1rem;
    color: var(--text-body);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 600;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-green) 0%, #2d8060 100%);
}

.newsletter-content-new {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
}

.newsletter-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-form-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input-group {
    display: flex;
    gap: 0.5rem;
}

.form-input-group input {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.form-input-group button {
    padding: 1rem 2rem;
    border-radius: 8px;
    background: white;
    color: var(--accent-green);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-input-group button:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-checkboxes {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ============================================
   FOOTER ADDITIONS
   ============================================ */

.affiliate-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .three-column-layout {
        grid-template-columns: 240px 1fr 280px;
        gap: 2rem;
    }

    .featured-secondary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .three-column-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .latest-column,
    .deals-column {
        position: static;
    }

    .column-sticky {
        position: static;
    }

    .latest-list,
    .deals-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .newsletter-content-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-editorial {
        padding: 8rem 0 3rem;
    }

    .hero-value-props {
        gap: 1.5rem;
    }

    .featured-secondary-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .merch-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .merch-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-input-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container-wide {
        padding: 0 15px;
    }

    .hero-editorial .hero-title {
        font-size: 2rem;
    }

    .hero-value-props {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .merch-grid {
        grid-template-columns: 1fr;
    }
}